<{include file="file:$xoops_rootpath/modules/fileManager/admin/templates/fileManager_header.html"}>

<{if $actionForm->hasError()}>
	<div class="error">
	<ul>
	<{foreach item=errval from=$actionForm->getErrorMessages()}>
		<li><{$errval}></li>
	<{/foreach}>
	</ul>
	</div>
<{/if}>

<form action="index.php?action=AddFolder" method="post" name="post">
	<{xoops_token form=$actionForm}>
	<{xoops_input type=hidden name=path value=$actionForm->get('path')}>
	<table width="100%" class="outer" cellspacing="1" cellpadding="3" border="0" class="outer">
	<tbody>
		<tr>
			<th colspan="2" align="center">
			<{$smarty.const._AD_FILEMANAGER_ADDFOLDER}>
			</th>
		</tr>
		<tr>
			<td class="head"><{$smarty.const._AD_FILEMANAGER_FOLDERNAME}></td>
			<td class="<{cycle values="odd,even"}>">
				<input type="text" name="foldername" value="<{$actionForm->get('foldername')}>" size="50" maxlength="100" />
			</td>
		</tr>
		<td colspan="2" class="foot" align="center">
			<input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" />
			<input class="formButton" type="submit" value="<{$smarty.const._BACK}>" name="_form_control_cancel" />
		</td>
		</tr>
	</tbody>
	</table>
</form>